package cc.rengu.redp.bizimpl.igas.service;

import cc.rengu.redp.bizimpl.igas.domain.SEventInfo;
import cc.rengu.redp.common.domain.QueryRequest;
import cc.rengu.redp.common.exception.RedpException;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

/**
* @author 刘玉亮.LL
*/
    public interface SEventInfoService extends IService<SEventInfo> {

    IPage<SEventInfo> findByPage(QueryRequest request, SEventInfo info, String declareDateEnd, String declareDateStart);

    String getMchntName(String mchntNo);

    @Transactional
    void update(SEventInfo entity) throws RedpException;

    Map<String,Object> detail(String id, String instId);
}
